.dashboard-container {
    padding: 1.5rem;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 概览卡片样式 */
.overview-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.warning {
    background: var(--warning-color);
}

.stat-content h3 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-trend {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.stat-trend.positive {
    color: var(--success-color);
}

.stat-trend.negative {
    color: var(--danger-color);
}

/* 主要内容区域样式 */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    height: calc(100vh - 240px);
}

/* 图表区域样式 */
.charts-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    flex: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    padding: 0.5rem 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chart {
    height: calc(100% - 50px);
}

/* 信息面板样式 */
.info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.panel-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    flex: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.panel-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    background: var(--warning-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

/* 预警列表样式 */
.alert-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid transparent;
}

.alert-item.high {
    border-left-color: var(--danger-color);
}

.alert-icon {
    color: var(--danger-color);
    font-size: 1.25rem;
}

.alert-content h4 {
    margin-bottom: 0.25rem;
}

.alert-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* 监控点列表样式 */
.monitor-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.monitor-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.monitor-item .status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.monitor-item .name {
    flex: 1;
}

.monitor-item .data {
    color: var(--text-secondary);
    margin-right: 1rem;
}

.btn-view {
    padding: 0.25rem 0.75rem;
    border: none;
    border-radius: 4px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
} 